<!DOCTYPE html>
<html lang="ru">

<head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
	<meta http-equiv="Content-Language" content="ru_RU" />
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="-1"/>
	
	<title><?= bf::$html->escape(@$this->title) . (@$this->title ? ' - ' : '') ?>Кабинет для работы с клиентами</title>
	
	<meta name="keywords" content="<?= bf::$html->escape(@$this->keywords) ?>"/>
	<meta name="description" content="<?= bf::$html->escape(@$this->description) ?>"/>

	<link href="<?= bf::url('css/960c12.css', false) ?>" rel="stylesheet" type="text/css"/> 

	<link href="<?= bf::url('applications/' . bf::$application->name . '/css/rs.v2.raw.css', false) ?>" rel="stylesheet" type="text/css"/> 
	<link href="<?= bf::url('applications/' . bf::$application->name . '/css/style.css', false) ?>" rel="stylesheet" type="text/css"/> 

	<? if (!empty($this->css)): ?>
		<?
			if (!is_array($this->css))
				$this->css = array($this->css);
			foreach ($this->css as $css)
				echo bf::$html->css(array('href' => bf::url($css)));
		?>
	<? endif; ?>

<script>

if (top.location.href != self.location.href)
	top.location.href = self.location.href

</script>

	<script type="text/javascript" charset="utf-8" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

	<? if (!empty($this->js)): ?>
		<?
			if (!is_array($this->js))
				$this->js = array($this->js);
			foreach ($this->js as $js)
				echo bf::$html->script(array('src' => bf::url($js)));
		?>
	<? endif; ?>

</head>

<body>
